<template>
  <div class="alloder">
<div class="oderitemlist">
    <template v-for="(item,index) in alloderdata.data?.orders" :key="index">
      <ItemOder :itemdata="item"></ItemOder>
    </template>
</div>
  </div>
</template>


<script setup>
import { storeToRefs } from 'pinia';
import usealloder from '../../store/moduels/alloder';
import ItemOder from './ItemOder.vue';

const alloderstore=usealloder()
const {alloderdata}=storeToRefs(alloderstore)
alloderstore.fetchalloder()

</script>


<style scoped>


</style>